Crate pwasm_utils[][src]

Modules

rules
stack_height

The pass that tries to make stack overflows deterministic, by introducing an upper bound of the stack size.

Enums

BuildError
OptimizerError
PackingError

Pack error.

SourceTarget

Statics

CALL_SYMBOL
CREATE_SYMBOL
RET_SYMBOL

Functions

build
externalize
externalize_mem
inject_gas_counter

Injects gas counter.

inject_runtime_type
optimize
pack_instance

If module has an exported "CREATE_SYMBOL" function we want to pack it into "constructor". raw_module is the actual contract code ctor_module is the constructor which should return raw_module

shrink_unknown_stack
underscore_funcs
ununderscore_funcs